Replication Data for:
"CRISIS AND CORRECTION: DO GOVERNMENT RECTIFICATION EFFORTS RESTORE CITIZEN TRUST AFTER GOVERNANCE FAILURE?"

This repository contains all the data and code necessary to replicate the analyses in the article.

Files Overview
Data Files:
cities.dta: Contains data for city-level analyses.
NationalSalience.xlsx: Used for plotting national salience trends.
CIS2018_submission.dta: Main dataset for generating most tables and figures.
2016VaccineCrisis.xlsx: Supplemental data used for Appendix 17.

Coding Files:

replication_R.R:
Written in R.
Generates Figure 4 and Appendix 6.
Requires cities.dta and NationalSalience.xlsx.

replication.do:
Written in Stata.
Generates all other tables and figures in the article.
Primarily uses CIS2018_submission.dta.
Appendix 17 requires 2016VaccineCrisis.xlsx.

Instructions for Use
For R:
Open replication_R.R in RStudio.
Ensure that cities.dta and NationalSalience.xlsx are in the same directory.
Run the script to generate Figure 4 and Appendix 6.

For Stata:
Open replication.do in Stata.
Ensure that CIS2018_submission.dta is in the working directory.
To generate Appendix 17, ensure 2016VaccineCrisis.xlsx is also in the working directory.
Run the script to generate all other tables and figures.

Notes
Ensure that all required data files are in the same directory as the corresponding coding file.
Figures and tables will be saved in the working directory after running the scripts.